package com.liyongjian.xhban.dal;

import java.util.List;

import org.springframework.data.repository.PagingAndSortingRepository;

import com.liyongjian.xhban.model.AccountGroupDetail;
import com.liyongjian.xhban.model.emumm.VerifyState;

public interface AccountGroupDetailRepository
        extends PagingAndSortingRepository<AccountGroupDetail, Long> {

    AccountGroupDetail findByUserMsgId(Long userMsgId);

    AccountGroupDetail findByBlogId(Long blogId);

    List<AccountGroupDetail> findByGroupIdAndState(Long groupId, VerifyState state);

}
